package top.continew.admin.system.model.resp;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

import java.time.LocalDateTime;

/**
 * @ClassName WxLoginResp
 * @Description 个人任务信息
 * @Author kellen
 * @Date 2025/6/25 21:47
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "任务查询")
public class MyTaskRes {

    /**
     * ID
     */
    @Schema(description = "ID", example = "1")
    @ExcelProperty(value = "任务编号", order = 1)
    private Long id;

    /**
     * 任务状态
     */
    @Schema(description = "任务状态")
    @NotBlank(message = "任务状态不能为空")
    @Length(max = 64, message = "任务状态长度不能超过 {max} 个字符")
    @ExcelProperty(value = "任务状态", order = 2)
    private String taskStatus;

    /**
     * 微信提醒
     */
    @Schema(description = "微信提醒状态")
    @ExcelProperty(value = "微信提醒", order = 3)
    private String wxMsgNotice;

    /**
     * 短信通知
     */
    @Schema(description = "短信通知状态")
    @ExcelProperty(value = "短信通知", order = 4)
    private String smsNotice;

    /**
     * 语音提醒
     */
    @Schema(description = "语音提醒状态")
    @ExcelProperty(value = "语音提醒", order = 5)
    private String voiceNotice;

    /**
     * 平台
     */
    @Schema(description = "平台")
    @NotBlank(message = "平台不能为空")
    @Length(max = 64, message = "平台长度不能超过 {max} 个字符")
    @ExcelProperty(value = "平台", order = 6)
    private String platformName;

    /**
     * 省区编码
     */
    @Schema(description = "省区编码")
    @NotBlank(message = "省区编码不能为空")
    @Length(max = 64, message = "省区编码长度不能超过 {max} 个字符")
    @ExcelProperty(value = "省区编码", order = 7)
    private String provinceCode;

    /**
     * 省区名称
     */
    @Schema(description = "省区名称")
    @NotBlank(message = "省区名称不能为空")
    @Length(max = 64, message = "省区名称长度不能超过 {max} 个字符")
    @ExcelProperty(value = "省区名称", order = 8)
    private String provinceName;

    /**
     * 店铺名称
     */
    @Schema(description = "店铺名称")
    @NotBlank(message = "店铺名称不能为空")
    @Length(max = 64, message = "店铺名称长度不能超过 {max} 个字符")
    @ExcelProperty(value = "店铺名称", order = 9)
    private String shopName;

    /**
     * 挂网公司
     */
    @Schema(description = "挂网公司")
    @NotBlank(message = "挂网公司不能为空")
    @Length(max = 64, message = "挂网公司长度不能超过 {max} 个字符")
    @ExcelProperty(value = "挂网公司", order = 10)
    private String publishCompany;

    /**
     * 品种
     */
    @Schema(description = "品种")
    @NotBlank(message = "品种不能为空")
    @Length(max = 64, message = "品种长度不能超过 {max} 个字符")
    @ExcelProperty(value = "品种", order = 11)
    private String categoryName;

    /**
     * 规格
     */
    @Schema(description = "规格")
    @NotBlank(message = "规格不能为空")
    @Length(max = 64, message = "规格长度不能超过 {max} 个字符")
    @ExcelProperty(value = "规格", order = 12)
    private String spec;

    /**
     * 当前价格
     */
    @Schema(description = "当前价格")
    @NotBlank(message = "当前价格不能为空")
    @Length(max = 64, message = "当前价格长度不能超过 {max} 个字符")
    @ExcelProperty(value = "当前价格", order = 13)
    private String currentPrice;

    /**
     * 商品链接
     */
    @Schema(description = "商品链接")
    @NotBlank(message = "商品链接不能为空")
    @Length(max = 128, message = "商品链接长度不能超过 {max} 个字符")
    @ExcelProperty(value = "商品链接", order = 14)
    private String goodsLink;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间", example = "2023-08-08 08:08:08", type = "string")
    @ExcelProperty(value = "创建时间", order = Integer.MAX_VALUE - 3)
    private LocalDateTime createTime;

    /**
     * 导入批次ID
     */
    @Schema(description = "导入批次ID", example = "9527", type = "string")
    @ExcelProperty(value = "导入批次ID", order = 15)
    private String batchId;

    /**
     * 处理图片
     */
    @Schema(description = "处理图片")
    private String handlePicUrl;
    /**
     * 处理图片列表
     */
    @Schema(description = "处理图片列表")
    private java.util.List<String> images;

    /**
     * 处理人
     */
    @Schema(description = "处理人")
    private String handler;

    @Schema(description = "处理人姓名")
    private String handlerName;
    @Schema(description = "负责人姓名")
    private String directors;
    /**
     * 处理说明
     */
    @Schema(description = "处理说明")
    private String handleDesc;

    @Schema(description = "处理完成时间")
    private LocalDateTime completeTime;

    /**
     * 是否匹配负责人
     */
    @Schema(description = "是否匹配负责人")
    private Integer matchHandler;

}
